package com.yyk.yykywd.mvvm.entity

data class HomeBean(
        val code: Int,
        val `data`: Data,
        val msg: String
) {
    data class Data(
            val count: Count,
            val department: List<Department>,
            val report: List<Report>,
            val today_data: TodayData,
            val userinfo: Userinfo
    ) {
        data class Count(
                val choscount: Int,
                val dchoscount: Int,
                val dghcount: Int,
                val dhkcount: Int,
                val dhosaddcount: Int,
                val dmoneyokcount: Int,
                val dpactcount: Int,
                val ghcount: Int,
                val hosaddcount: Int,
                val okcount: Int,
                val pactcount: Int
        )

        data class Department(
                val id: Int,
                val name: String
        )

        data class Report(
                val createtime: String,
                val flag: Int,
                val name: String,
                val state: String
        )

        data class TodayData(
                val agentaddcount: Int,
                val agentpactcount: Int,
                val answer_money: String?,
                val hosaddcount: Int,
                val hospactcount: Int,
                val inserthos: Int
        )

        data class Userinfo(
                val dname: String,
                val pname: String,
                val uname: String
        )
    }
}